import Reflux from "reflux";
import action from "./TodoAction";
class TodoStore extends Reflux.Store {
    constructor() {
        super();
        this.state = {
            items: [1, 2],
        };
        this.listenables = action;
    }

    onAddItem() {
        this.trigger({items: [3]})
    }
}
export default TodoStore;